package com.example.spring.spring.postProcessor;

import com.example.spring.spring.register.bean.ExampleBean;
import com.example.spring.spring.register.bean.InitBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: orange
 * @create: 2023-08-08 16:45
 * @description:
 */
@Configuration
public class OrangeConfiguration {

    @Bean
    public ExampleBean exampleBean() {
        return new ExampleBean();
    }

    @Bean(initMethod = "init")
    public InitBean initBean() {
        return new InitBean();
    }
}
